import request from '@/utils/request'

// 查询AQL设置列表
export function listNcAqlSettings(query) {
  return request({
    url: '/business/NcAqlSettings/list',
    method: 'get',
    params: query
  })
}

// 查询AQL设置详细
export function getNcAqlSettings(id) {
  return request({
    url: '/business/NcAqlSettings/' + id,
    method: 'get'
  })
}

// 新增AQL设置
export function addNcAqlSettings(data) {
  return request({
    url: '/business/NcAqlSettings',
    method: 'post',
    data: data
  })
}

// 修改AQL设置
export function updateNcAqlSettings(data) {
  return request({
    url: '/business/NcAqlSettings',
    method: 'put',
    data: data
  })
}

// 删除AQL设置
export function delNcAqlSettings(id) {
  return request({
    url: '/business/NcAqlSettings/' + id,
    method: 'delete'
  })
}
